Gauss Jacobi Method